package com.lwj.dao;

import com.lwj.entity.ProjectType;
import com.lwj.entity.Type;

import java.util.List;

public interface TypeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Type record);

    int insertSelective(Type record);

    Type selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Type record);

    int updateByPrimaryKey(Type record);

    /**
     * 根据typeId获取数据
     * @param typeId
     * @return
     */
    List<Type> getByTypeId(Integer typeId);
}